package com.epam.rentcar.DAO;

public class DAOFactoryImpl extends DAOFactory {
	
	@Override
	public CarDAO getCarDAO(int wichFactory) {
		return new CarDAOImpl(wichFactory);
	}

	@Override
	public UserDAO getUserDAO(int wichFactory) {
		return new UserDAOImpl(wichFactory);
	}

	@Override
	public CarRequestDAO getCarRequestDAO(int wichFactory) {
		return new CarRequestDAOImpl(wichFactory);
	}
	
}
